//
//  DetailHYZXFooterView.swift
//  甜言蜜语
//
//  Created by yingli_yanfa_liuxingyu on 16/9/8.
//  Copyright © 2016年 wl. All rights reserved.
//

import UIKit
protocol DetailHYZXFooterViewDelegate {
    func HYZXCollectionBtnSelected(sender: UIButton)
    func HYZXcommentBtnSelected(sender: UIButton)
    func HYZXtransmitBtnSelected(sender: UIButton)
    //func HYXCtextFieldSelected()
    
}
class DetailHYZXFooterView: UIView {

    @IBOutlet weak var textField: UITextField!
    @IBOutlet weak var collectionBtn: UIButton!
    @IBOutlet weak var commentBtn: UIButton!
    @IBOutlet weak var transmitBtn: UIButton!
    var delegate:DetailHYZXFooterViewDelegate?
   
    @IBAction func collectionBtnClicked(sender: UIButton){
        delegate?.HYZXCollectionBtnSelected(sender)
        
    }
    @IBAction func commentBtnClicked(sender: UIButton){
        delegate?.HYZXcommentBtnSelected(sender)
        
    }
    
    @IBAction func transmitBtnClicked(sender: UIButton){
        delegate?.HYZXtransmitBtnSelected(sender)
    }
   
}
